package com.qxp.simplerpc.annotation;

import org.springframework.core.annotation.AliasFor;
import org.springframework.stereotype.Component;

import java.lang.annotation.*;

/**
 * @author qianxiaopeng
 * for provider register bean to invoke com.qxp.example method
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface Service {
    @AliasFor(
            annotation = Component.class
    )
    String value() default "";
}
